<!DOCTYPE html>
<html>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <meta charset="utf-8" />
    <title>轮播demo</title>
    <link rel="stylesheet" type="text/css" href="style.css">
</head>

<body>
    <div id="carousel">
        <div class="item">
            <img src="bg1.jpg">
        </div>
        <div class="item">
            <img src="bg2.jpg">
        </div>
        <div class="item">
            <img src="bg3.jpg">
        </div>
        <div class="item">
            <img src="bg4.jpg">
        </div>
        <div class="item">
            <img src="bg5.jpg">
        </div>

        <ul id="nav">

        </ul>

        <div id="pre">上一张</div>
        <div id="next">下一张</div>

    </div>
    <script type="text/javascript" src="common.js"></script>
</body>

</html>
